import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'plugin_test_method_channel.dart';

abstract class PluginTestPlatform extends PlatformInterface {

  PluginTestPlatform() : super(token: _token);

  static final Object _token = Object();

  static PluginTestPlatform _instance = MethodChannelPluginTest();

  static PluginTestPlatform get instance => _instance;

  static set instance(PluginTestPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<String?> getPlatformVersion() {
    throw UnimplementedError('platformVersion() has not been implemented.');
  }

  Future<String> getName() {
    throw UnimplementedError('getName() has not been implemented.');
  }

}
